<!-- {extend name="main/index" /}
{block name="main"}

<div class="content-page">
    <div class="content">
        <h1>添加角色</h1>
       <div class="row">
        <div class="col-md-12">
            <form action="{:url('admin/node/doAdd')}" method='post' class="form-horizontal">

                <div class="form-group" style="">
                    <label for="" class="col-sm-2 control-label">功能：</label>
                    <div class="col-sm-4">
                        <input type="text" name="name" class="form-control" placeholder="用户名">
                    </div>
                </div>
                <div class="form-group">
                    <label for="" class="col-sm-2 control-label">类名：</label>
                    <div class="col-sm-4">
                        <input  type="text" name="mname" class="form-control" placeholder="">
                    </div>
                </div>
                <div class="form-group">
                    <label for="" class="col-sm-2 control-label">方法名：</label>
                    <div class="col-sm-4">
                        <input  type="text" name="aname" class="form-control" placeholder="">
                    </div>
                </div>
                <div class="form-group">
                    <label for="" class="col-sm-2 control-label">状态 ：</label>
                    <div class="col-sm-4">
                        <input type="radio" name="status" class="form-control" placeholder="" value="1" checked>激活 &nbsp;&nbsp;&nbsp;&nbsp;
                        <input type="radio" name="status" class="form-control" placeholder="" value="1">禁用
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-4">
                      <button type="submit" class="btn btn-default">添 加</button>
                    </div>
                </div>

            </form>
        </div>
    </div>
    </div>
</div>

{/block}
 -->

{extend name="main/index" /}
{block name="main"}
<div class="main-content">
    <div class="breadcrumbs" id="breadcrumbs">
        <script type="text/javascript">
            try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
        </script>

        <ul class="breadcrumb">
            <li>
                <i class="icon-home home-icon"></i>
                <a href="#">Home</a>
            </li>

            <li>
                <a href="#">Tables</a>
            </li>
            <li class="active">用户列表</li>
        </ul><!-- .breadcrumb -->

        <div class="nav-search" id="nav-search">
            <form class="form-search">
                <span class="input-icon">
                    <input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
                    <i class="icon-search nav-search-icon"></i>
                </span>
            </form>
        </div><!-- #nav-search -->
    </div>

    <div class="page-content">
        <div class="row">
        <div class="col-xs-1">
        </div>
            <div class="col-xs-10">
                <div class="row">
                    <div class="col-xs-12">
                        <div class="table-responsive">
                            <form action="{:url('admin/material/addMaterial')}" method='post' class="form-horizontal" enctype="multipart/form-data">
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right" for="form-field-1">  项目名称</label>
                                    <div class="col-sm-9">
                                        <input type="text" id="form-field-1" placeholder="project name"  name="project_name" class="col-xs-10 col-sm-5">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 材料名称 </label>
                                    <div class="col-sm-9">
                                        <input type="text" id="form-field-1" placeholder="material name" name="material_name"  class="col-xs-10 col-sm-5">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 用材分部</label>
                                    <div class="col-sm-9">
                                        <input type="text" id="form-field-1" placeholder="timber division" name="timber_division"  class="col-xs-10 col-sm-5">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 预估单价 </label>
                                    <div class="col-sm-9">
                                        <input type="text" id="form-field-1" placeholder="estimate unit price"  name="estimate_unit_price" class="col-xs-10 col-sm-5">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 预估数量 </label>
                                    <div class="col-sm-9">
                                        <input type="text" id="form-field-1" placeholder="estimate number" name="estimate_number" class="col-xs-10 col-sm-5">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right" for="form-field-1">   预估总价 </label>
                                    <div class="col-sm-9">
                                        <input type="text" id="form-field-1" placeholder="estimate total price" name="estimate_total_price" class="col-xs-10 col-sm-5">
                                    </div>
                                </div>

                                <div class="space-4"></div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right" for="form-field-1">  项目文件 </label>
                                    <div class="col-sm-9">
                                        <input type="file" id="form-field-1" placeholder="estimate total price" name="material_file" class="col-xs-10 col-sm-5">
                                    </div>
                                </div>


                              <div class="form-group"></div>

                                <div class="space-4"></div>

                                <div class="clearfix form-actions">
                                    <div class="col-md-offset-3 col-md-9">
                                        <button class="btn btn-info" type="submit">
                                            <i class="icon-ok bigger-110"></i>
                                            确认添加
                                        </button>
                                        <button class="btn" type="reset">
                                            <i class="icon-undo bigger-110"></i>
                                            信息重置
                                        </button>
                                    </div>
                                </div>
                              </form>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-xs-3">
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.page-content -->
</div>
{/block}